package cc.lzmsh.service;

import cc.lzmsh.domain.entity.Comment;
import cc.lzmsh.domain.result.Result;
import cc.lzmsh.domain.vo.CommentVo;
import cc.lzmsh.domain.vo.PageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * 评论表(Comment)表服务接口
 *
 * @author msh
 * @since 2024-09-19 20:19:59
 */
public interface CommentService extends IService<Comment> {

    Result<PageVo<List<CommentVo>>> CommentList(String contentType, Long articleId, Integer pageNum, Integer pageSize);

    Result addComment(Comment comment);
}

